package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_MED_DRAW database table.
 * 
 */
@Entity
@Table(name="YZR_MED_DRAW")
@NamedQuery(name="YzrMedDraw.findAll", query="SELECT y FROM YzrMedDraw y")
public class YzrMedDraw implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="MED_DRAW_ID")
	private String medDrawId;

	@Column(name="MED_DRAW_AUTDIT")
	private BigDecimal medDrawAutdit;

	@Column(name="MED_DRAW_AUTDIT_STATE")
	private String medDrawAutditState;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyy/MM/dd")
	@Column(name="MED_DRAW_AUTDIT_TIME")
	private Date medDrawAutditTime;

	@Column(name="MED_DRAW_DRAW_PERSON")
	private BigDecimal medDrawDrawPerson;

	@Column(name="MED_DRAW_DRAW_STATE")
	private String medDrawDrawState;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyy/MM/dd")
	@Column(name="MED_DRAW_DRAW_TIME")
	private Date medDrawDrawTime;

	@Column(name="MED_DRAW_PHARMACY_ID")
	private String medDrawPharmacyId;

	@Column(name="MED_DRAW_PICK_PERSON")
	private BigDecimal medDrawPickPerson;

	@Column(name="MED_DRAW_STORE_ID")
	private String medDrawStoreId;

	public YzrMedDraw() {
	}

	public String getMedDrawId() {
		return medDrawId;
	}

	public void setMedDrawId(String medDrawId) {
		this.medDrawId = medDrawId;
	}

	public BigDecimal getMedDrawAutdit() {
		return medDrawAutdit;
	}

	public void setMedDrawAutdit(BigDecimal medDrawAutdit) {
		this.medDrawAutdit = medDrawAutdit;
	}

	public String getMedDrawAutditState() {
		return medDrawAutditState;
	}

	public void setMedDrawAutditState(String medDrawAutditState) {
		this.medDrawAutditState = medDrawAutditState;
	}

	public Date getMedDrawAutditTime() {
		return medDrawAutditTime;
	}

	public void setMedDrawAutditTime(Date medDrawAutditTime) {
		this.medDrawAutditTime = medDrawAutditTime;
	}

	public BigDecimal getMedDrawDrawPerson() {
		return medDrawDrawPerson;
	}

	public void setMedDrawDrawPerson(BigDecimal medDrawDrawPerson) {
		this.medDrawDrawPerson = medDrawDrawPerson;
	}

	public String getMedDrawDrawState() {
		return medDrawDrawState;
	}

	public void setMedDrawDrawState(String medDrawDrawState) {
		this.medDrawDrawState = medDrawDrawState;
	}

	public Date getMedDrawDrawTime() {
		return medDrawDrawTime;
	}

	public void setMedDrawDrawTime(Date medDrawDrawTime) {
		this.medDrawDrawTime = medDrawDrawTime;
	}

	public String getMedDrawPharmacyId() {
		return medDrawPharmacyId;
	}

	public void setMedDrawPharmacyId(String medDrawPharmacyId) {
		this.medDrawPharmacyId = medDrawPharmacyId;
	}

	public BigDecimal getMedDrawPickPerson() {
		return medDrawPickPerson;
	}

	public void setMedDrawPickPerson(BigDecimal medDrawPickPerson) {
		this.medDrawPickPerson = medDrawPickPerson;
	}

	public String getMedDrawStoreId() {
		return medDrawStoreId;
	}

	public void setMedDrawStoreId(String medDrawStoreId) {
		this.medDrawStoreId = medDrawStoreId;
	}

	

}